package com.pro.h5case.common.model;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Description: 日志记录POJO
 */
public class LogInfoEntity extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer logId;
	private Integer logAdId;
	private String logAdName;
	private String logOperation;
	private Integer logContentId;
	private String logContentTitle;
	private String logContent;
	private Date logCreateTime;
	private String logDeleteState;
	
	private SimpleDateFormat format;
	
	public String getCreateTimeStr(){
	    	format= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	    	String date = format.format(this.logCreateTime);
	    	return date;
	}
	
	public Integer getLogId() {
		return logId;
	}
	public void setLogId(Integer logId) {
		this.logId = logId;
	}
	public Integer getLogAdId() {
		return logAdId;
	}
	public void setLogAdId(Integer logAdId) {
		this.logAdId = logAdId;
	}
	public String getLogAdName() {
		return logAdName;
	}
	public void setLogAdName(String logName) {
		this.logAdName = logName;
	}
	public String getLogOperation() {
		return logOperation;
	}
	public void setLogOperation(String logOperation) {
		this.logOperation = logOperation;
	}
	public Integer getLogContentId() {
		return logContentId;
	}
	public void setLogContentId(Integer logContentId) {
		this.logContentId = logContentId;
	}
	public String getLogContent() {
		return logContent;
	}
	public String getLogContentTitle() {
		return logContentTitle;
	}
	public void setLogContentTitle(String logContentTitle) {
		this.logContentTitle = logContentTitle;
	}
	public void setLogContent(String logContent) {
		this.logContent = logContent;
	}
	public Date getLogCreateTime() {
		return logCreateTime;
	}
	public void setLogCreateTime(Date logCreateTime) {
		this.logCreateTime = logCreateTime;
	}
	public String getLogDeleteState() {
		return logDeleteState;
	}
	public void setLogDeleteState(String logDeleteState) {
		this.logDeleteState = logDeleteState;
	}
	

}
